const { ipcRenderer } = require("electron");


window.addEventListener("DOMContentLoaded", () => {
  document.querySelector("p").innerText = localStorage.getItem("name");

  document.querySelector("button").addEventListener("click", () => {
    ipcRenderer.send("stm", "来自sub的信息");
  });
});